<?php
// +----------------------------------------------------------------------
// | 中犇单商户
// +----------------------------------------------------------------------
// | Copyright (c) 2019-2021 中犇科技 All rights reserved.
// +----------------------------------------------------------------------


/**
 * 模块信息
 */
return [
    'name' => 'operation',
    'title' => lang('运营'),
    'identifier' => 'operation.zbphp.module',
    'icon' => 'fa fa-fw fa-briefcase',
    'description' => lang('运营模块'),
    'author' => lang('似水星辰'),
    'author_url' => 'javascript:;',
    'version' => '2.0.0',
    'need_module' => [
        [
            'admin',
            'admin.zbphp.module',
            '1.0.0',
        ],
    ],
    'need_plugin' => [],
    'tables' => [
        'operation_ads',
        'operation_ads_type',
        'operation_nav',
        'operation_nav_type',
        'operation_article',
        'operation_article_body',
        'operation_article_column',
        'operation_message',
        'operation_message_push',
        'operation_system_message',
        'operation_system_message_read',   
    ],
    'database_prefix' => 'mb_',
    'config' => [
        [
            'type' => 'radio',
            'name' => 'message_send',
            'title' => lang('是否开启推送'),
            'extra' => [lang('不开启'), lang('开启')],
            'value' => 0,
            'tips' => lang('开启后所有消息会进行推送')
        ],
        [
            'type' => 'image',
            'name' => 'kf_logo',
            'title' => lang('客服LOGO'),
            'value' => '',
            'tips' => ''
        ],
        [
            'type' => 'text',
            'name' => 'service_phone',
            'title' => lang('客服电话'),
            'value' => '',
            'tips' => ''
        ],
        [
            'type' => 'text',
            'name' => 'operating_hours',
            'title' => lang('工作时间'),
            'value' => '',
            'tips' => ''
        ]

    ],
    'action' => [],
    'access' => [],
];
